imx: imx8qm: add system reset support
authorAnson Huang <[email protected]>
Thu, 12 Jul 2018 06:27:36 +0000 (14:27 +0800)
committerAnson Huang <[email protected]>
Thu, 12 Jul 2018 08:15:51 +0000 (16:15 +0800)
Add system reset support for i.MX8QM,
when Linux kernel issues "reboot" command,
TF-A will send command to inform system
controller to reset whole board according
to board design, tested on i.MX8QM MEK board.

Signed-off-by: Anson Huang <[email protected]>
plat/imx/imx8qm/imx8qm_psci.c

index 53b5ccd04c08eb563f4fd1c887c1f5282f3bb78d..217d9d969d3641357f21a191086244713fb50446 100644 (file)
@@ -95,6 +95,7 @@ static const plat_psci_ops_t imx_plat_psci_ops = {
        .pwr_domain_on_finish = imx_pwr_domain_on_finish,
        .validate_ns_entrypoint = imx_validate_ns_entrypoint,
        .system_off = imx_system_off,
+       .system_reset = imx_system_reset,
 };
 
 int plat_setup_psci_ops(uintptr_t sec_entrypoint,